
package com.derbysoft.synxisadapter.commons.dto.synxis;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for LengthOfStay complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="LengthOfStay">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="LOS_Pattern" type="{http://www.opentravel.org/OTA/2003/05}LOS_Pattern" minOccurs="0"/>
 *         &lt;element name="NightCounts" type="{http://www.opentravel.org/OTA/2003/05}ArrayOfNightCount" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="Time" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="TimeUnit" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="MinMaxMessageType" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="OpenStatusIndicator" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LengthOfStay", propOrder = {
    "losPattern",
    "nightCounts"
})
public class LengthOfStay {

    @XmlElement(name = "LOS_Pattern")
    protected LOSPattern losPattern;
    @XmlElement(name = "NightCounts")
    protected ArrayOfNightCount nightCounts;
    @XmlAttribute(name = "Time")
    protected String time;
    @XmlAttribute(name = "TimeUnit")
    protected String timeUnit;
    @XmlAttribute(name = "MinMaxMessageType")
    protected String minMaxMessageType;
    @XmlAttribute(name = "OpenStatusIndicator", required = true)
    protected boolean openStatusIndicator;

    /**
     * Gets the value of the losPattern property.
     * 
     * @return
     *     possible object is
     *     {@link LOSPattern }
     *     
     */
    public LOSPattern getLOSPattern() {
        return losPattern;
    }

    /**
     * Sets the value of the losPattern property.
     * 
     * @param value
     *     allowed object is
     *     {@link LOSPattern }
     *     
     */
    public void setLOSPattern(LOSPattern value) {
        this.losPattern = value;
    }

    /**
     * Gets the value of the nightCounts property.
     * 
     * @return
     *     possible object is
     *     {@link ArrayOfNightCount }
     *     
     */
    public ArrayOfNightCount getNightCounts() {
        return nightCounts;
    }

    /**
     * Sets the value of the nightCounts property.
     * 
     * @param value
     *     allowed object is
     *     {@link ArrayOfNightCount }
     *     
     */
    public void setNightCounts(ArrayOfNightCount value) {
        this.nightCounts = value;
    }

    /**
     * Gets the value of the time property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTime() {
        return time;
    }

    /**
     * Sets the value of the time property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTime(String value) {
        this.time = value;
    }

    /**
     * Gets the value of the timeUnit property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTimeUnit() {
        return timeUnit;
    }

    /**
     * Sets the value of the timeUnit property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTimeUnit(String value) {
        this.timeUnit = value;
    }

    /**
     * Gets the value of the minMaxMessageType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMinMaxMessageType() {
        return minMaxMessageType;
    }

    /**
     * Sets the value of the minMaxMessageType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMinMaxMessageType(String value) {
        this.minMaxMessageType = value;
    }

    /**
     * Gets the value of the openStatusIndicator property.
     * 
     */
    public boolean isOpenStatusIndicator() {
        return openStatusIndicator;
    }

    /**
     * Sets the value of the openStatusIndicator property.
     * 
     */
    public void setOpenStatusIndicator(boolean value) {
        this.openStatusIndicator = value;
    }

}
